@import '@/uni.scss';

// 字体加粗相关
.font-bold {
	font-weight: bold;
}

// 字体大小相关
.font-sm {
	font-size: $uni-font-size-sm;
}
.font-base {
	font-size: $uni-font-size-base;
}
.font-lg {
	font-size: $uni-font-size-lg;
}

// 字体颜色相关
.font-white {
	color: #fff;
}
.font-blue {
	color: $uni-color-primary;
}
.font-green {
	color: $uni-color-success;
}
.font-orange {
	color: $uni-color-warning;
}
.font-red {
	color: $uni-color-error;
}
.font-black {
	color: $uni-text-color;
}
.font-grey {
	color: $uni-text-color-grey;
}
.font-disable {
	color: $uni-text-color-disable;
}
.font-placeholder {
	color: $uni-text-color-placeholder;
}
.font-g {
	color: #46B4B1;
}
.border-g {
	border: 1px solid #46B4B1
}

// 其他
.font-20 {
	font-size: 20rpx;
}

.font-22 {
	font-size: 22rpx;
}

.font-24 {
	font-size: 24rpx;
}

.font-26 {
	font-size: 26rpx;
}

.font-28 {
	font-size: 28rpx;
}

.font-30 {
	font-size: 30rpx;
}

.font-32 {
	font-size: 32rpx;
}

.font-34 {
	font-size: 34rpx;
}

.font-36 {
	font-size: 36rpx;
}

.font-38 {
	font-size: 38rpx;
}

.font-40 {
	font-size: 40rpx;
}

.font-50 {
	font-size: 50rpx;
}

.font-no-wrap {
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
	word-break: break-all;
}

.font-no-wrap2 {
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
}

.font-no-wrap5 {
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 5;
	line-clamp: 5;
	-webkit-box-orient: vertical;
}

.font-no-wrap3 {
	text-overflow: -o-ellipsis-lastline;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
}

.text-center {
	text-align: center;
}

.text-right {
	text-align: right;
}
.text-left {
	text-align: left;
}
.text-align-last {
	text-align-last: left;
	text-align: justify;
}
